package com.ruoyi.rule.service.impl;

import com.ruoyi.rule.entity.ParamInfo;
import com.ruoyi.rule.service.ParamInfoService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

@Service("paramInfoService")
public class ParamInfoServiceImpl implements ParamInfoService {
    private static final Logger LOGGER = LoggerFactory.getLogger(ParamInfoServiceImpl.class) ;


    @Override
    public ParamInfo selectById (String paramId){
        //ParamInfo paramInfo = paramInfoMapper.selectById(paramId) ;
        ParamInfo paramInfo = new ParamInfo();
        paramInfo.setId(paramId);
        paramInfo.setParamSign("asdfasdfasdf");
        LOGGER.info("ParamInfoServiceImpl-Sign：{}",paramInfo.getParamSign());
        return paramInfo ;
    }

    @Override
    public void insertParam(ParamInfo paramInfo) {
        System.out.println("写入一条数据param");
    }

}
